import { request } from '../../../request';
// 钻孔机台配置--查询所有机台
export function queryallmachine(params: any) {
  return request({
    url: `mes/jlagv/machine/woker/findAll`,
    method: 'get',
    params
  });
}
// 钻孔机台配置--修改机台状态
export function modifyallmachinestatus(machineId: string, machineState: string) {
  const data = {
    machineId,
    machineState
  };
  return request({
    url: `mes/jlagv/machine/woker/update`,
    method: 'post',
    data
  });
}
